import {Navigate} from "react-router-dom";

import Home from "../pages/frontEndView/Home.jsx";
import BackHome from "../pages/backendView/backHome.jsx"

export default [
    {
        path: "/",
        element: <Navigate to={"/home/home"}/>,
    },
    {
        path: "/home",
        //新增以下内容
        children: [
            {
                path: "home",
                element: <Home/>,
            },
        ],
    },
    {
        path: "/backendView",
        children: [
            {
                path: "backHome",
                element: <BackHome/>,
            },
        ],
    },
];
